/**
 * 
 */
package com.xiaxueqi.web.demo;

import com.niagara.context.SecurityContext;
import com.niagara.security.auth.entity.UserDetail;

/**
 * @author Sean.he
 * 
 */
public class LoginSuccessAction {
	public String execute() {
		UserDetail detail = SecurityContext.getUserDetail();
		if (detail != null) {
			String loginId = detail.getLoginId();// 代码中得到LOGINID的示例
		}
		return "success";
	}
}
